package com.mentaleye.service;

import com.mentaleye.bean.CurriculumBean;
import com.mentaleye.dal.model.CurriculumExample;

import java.util.List;
import java.util.Map;

public interface CurriculumService {

	/**
     * 编辑课程
	 * 
	 * @param curriculumBean
	 * @param add
	 * @return
	 */
	public boolean editCurriculum(CurriculumBean curriculumBean, boolean add);


	public CurriculumBean getCurriculumByNo(Integer no);

	/**
	 * 查询课程
	 * 
	 * @return
	 */
	public List<CurriculumBean> queryCurriculum(CurriculumExample example);
	
	public  List<CurriculumBean>  queryCurriculumByPage(Map<String, Object> map);
	/**
	 * 查询课程
	 * 
	 * @return
	 */
	public List<CurriculumBean> queryCurriculum(String curriculumName, List<String> cotainNos, List<String> unCotainNos
			, String readyRelate, String noRelate);
	
	public boolean deleteCurriculum(List<Integer> ids);
	
	public List<CurriculumBean> queryCurriculum(Map<String, Object> map);
	
	
	
}